package com.rnkrsoft.suyan.config.server.services.authority.domains;

import com.rnkrsoft.suyan.config.internal.enums.ResourceTypeEnum;
import lombok.Data;

import javax.doc.annotation.ApidocElement;
import javax.doc.data.PaginationRequest;

/**
 * Created by woate on 2019/5/19.
 */
@Data
public class QueryAuthorityRequest extends PaginationRequest {
    @ApidocElement(value = "机器")
    String machineId;

    @ApidocElement(value = "资源类型", maxLen = 5, required = false, enumClass = ResourceTypeEnum.class)
    Integer resourceType;

    @ApidocElement(value = "授权用户")
    String userId;

    @ApidocElement(value = "操作员")
    String createOperatorId;
}
